//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.rjxy.demo.mapper;

import com.rjxy.demo.pojo.Users;
import java.util.List;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

public interface UsersMapper {
    @Select({"select * FROM users"})
    List<Users> selectAll();

    @Select({"select id,uname,age,classes from users where uname=#{uname} and upwd=#{upwd}"})
    Users selectByUnameAndUpwd(Users var1);

    @Insert({"insert into users values(null,#{uname},#{upwd},#{age},#{classes})"})
    int insertUser(Users var1);
}
